001 /**
002 * Created by IntelliJ IDEA.
003 * User: Wei Wang
004 * Date: Nov 27, 2002
005 * Time: 10:02:58 PM
006 */
007
008 package EVolve.util.painters;
009
010 import EVolve.visualization.*;
011 import EVolve.util.painters.shapes.Shape;
012
013 public abstract class Painter implements Cloneable{
014
015 public abstract void paint(AutoImage image, long x, long y, long z);
016
017 public abstract String getName();
018
019 public Object clone() {
020 Object o = null;
021 try {
022 o = super.clone();
023 }catch (CloneNotSupportedException e) {
024 e.printStackTrace();
025 return null;
026 }
027 return o;
028 }
029 }